<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%
    List<BSort> sortList = (List<BSort>)request.getAttribute("sortList");
    %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<%@page import="java.util.List"%>
<%@page import="com.zhangyj.entitis.BSort"%><html xmlns="http://www.w3.org/1999/xhtml">
<head>
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 <title>Zhyone.com</title>
  <%@include file="/WEB-INF/jsps/head.jsp" %>
  <script type="text/javascript" src="/fckeditor/fckeditor.js"></script>
  <script type="text/javascript" src="/manage/images/public.js"></script>
<script type="text/javascript">
function openwin(theURL,winName,features){
	window.open(theURL,winName,features);
}
</script>
</head>
<body>
 <div class="content">
	<form name="f1" action="/produce/addProduct.do" method="post">
		<%=com.zhangyj.entitis.SystemParam.getSystemParam(request).toInput() %>
	<span class="functitle">产品添加：</span>
<div class="subcontent">
     <ul>
      <li>产品名称：<input name="cpmc" style="width:453px;" /></li>
      <li>产品规格：<input name="cpgg" style="width:70px;" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      型号：<input name="xh" style="width:70px;" />
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;市场价：<input name="dj" style="width:70px;" value="0.00" />&nbsp;&nbsp;元</li>
	  <li>代购价格：<input name="dgj" style="width:70px;" value="0.00" />&nbsp;&nbsp;元&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;优惠价：<input name="yhj" style="width:70px;" value="0.00" />&nbsp;&nbsp;元&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;手 动 价：<input name="sdj" style="width:70px;" value="0.00" />&nbsp;&nbsp;元&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;积分换购价：<input name="jfj" style="width:70px;" value="0.00" />&nbsp;&nbsp;分</li>
      <li>产品分类：<select name="cplh" style="width:128px;">
      <%for (int i = 0;i < sortList.size();i++) { 
    	  BSort sort = sortList.get(i);
      %>
            <option value="<%=sort.getSortId() %>"><%=sort.getSortName() %></option>
	    <%} %>
	    </select>&nbsp;&nbsp;&nbsp;&nbsp;</li>
      <li>产品小图：<input name="pics" style="width:293px;" />&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" name="ps" class="btnsubmit" onclick="openwin('/manage/addattachs.html','','scrollbars=no,width=386,height=105,top=200,left=300');return false;" value="上传图片" /></li>
	  <li>产品大图：<input name="picb" style="width:293px;" />&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" name="pb" class="btnsubmit" onclick="openwin('/manage/addattachb.html','','scrollbars=no,width=386,height=105,top=200,left=300');return false;" value="上传图片" /></li>
	 
	  <li>别&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;名：<input name="slug" style="width:180px;" /> <span style="color:#00f">*生成静态页面所用,必填字段！不能重复，英文或数字</span></li>
     <li> 备注:</li>
      <li style="padding-top:10px;height:265px;">
<script type="text/javascript">
var oFCKeditor = new FCKeditor( 'beizhu' ) ;
oFCKeditor.BasePath = '/fckeditor/';
oFCKeditor.ToolbarSet = 'Default' ;
oFCKeditor.Width = '100%' ;
oFCKeditor.Height = '260' ;
oFCKeditor.Value = '' ;
oFCKeditor.Create() ;
</script></li>
      <li style=" padding:8px 0 0 0;"><input type="submit" class="btnsubmit" value="发 布" onclick=" return chkSlug()" /> <input type="reset" class="btnsubmit" /></li>
     </ul>
</div>
	</form>
 </div>
</body>
</html>